<%--
  Created by IntelliJ IDEA.
  User: lizhun
  Date: 16/3/19
  Time: 下午4:45
  To change this template use File | Settings | File Templates.
--%>
<%@page  pageEncoding="utf-8" contentType="text/html;charset=utf-8" %>
<%@ include file="../../include/import.jsp" %>
<!doctype html>
<html>
<head>
    <title></title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <link rel="stylesheet" type="text/css" href="${ctx}/resource/teacher/css/libs/CSSRESET.css">
    <link rel="stylesheet" type="text/css" href="${ctx}/resource/teacher/css/common.css">
    <link rel="stylesheet" type="text/css" href="${ctx}/resource/teacher/css/clock.css">
    <script src="${ctx}/resource/teacher/js/libs/jquery-2.1.3.min.js"></script>
    <script>
        $(function(){
            var date = new Date();
            var week =date.getDay();

            $(".weekday span").eq(week).addClass("active");
        });
    </script>
</head>
<body>
<article class="wrapper">
    <div class="main">

        <div class="profile">
            <c:choose>
                <c:when test="${fn:containsIgnoreCase(result.memb_head_portrait, 'http')}">
                    <img src="${result.memb_head_portrait}" alt="" />
                </c:when>
                <c:otherwise>
                    <img src="${src}${result.memb_head_portrait}" alt="" />
                </c:otherwise>
            </c:choose>
            <span>${result.memb_name}</span>
        </div>

        <div class="info clear">
            <div>
                <span>累计打卡</span>
                <em>${result.total_clock_in_day}天</em>
            </div>

            <div>
                <span>累计学习</span>
                <em>${result.total_study_times}m</em>
            </div>
        </div>

        <div class="weekday">
            <span>日</span>
            <span>一</span>
            <span>二</span>
            <span>三</span>
            <span>四</span>
            <span>五</span>
            <span>六</span>
        </div>
    </div>
</article>
<!-- wrapper End -->

<div class="download">
    <div class="download_wrap">
        <div><img src="${ctx}/resource/teacher/img/icon_face.png" alt="" /></div>
        <div>
            <h5>外教君</h5>
            <p>一键学英语</p>
        </div>
        <div><a href="javascript:;" onclick="window.location='http://a.app.qq.com/o/simple.jsp?pkgname=com.waijiaojun'"></a></div>
    </div>
</div>
<!-- download -->

</body>
</html>
